package cn.shengchao.examstar.shared.application.ai;

import cn.shengchao.examstar.shared.domain.ai.vo.DegreeOfMastery;

import java.util.List;
import java.util.Map;

/**
 * AI 学习计划应用服务接口
 */
public interface AiStudyPlanAppService {

    /**
     * 生成学习计划
     *
     * @param knowledgePoints 知识点列表
     * @param currentMasteryLevels 当前掌握程度
     * @return 学习计划
     */
    Map<String, Object> generateStudyPlan(List<String> knowledgePoints, Map<String, DegreeOfMastery> currentMasteryLevels);

    /**
     * 更新学习进度
     *
     * @param userId 用户ID
     * @param knowledgePointId 知识点ID
     * @param masteryLevel 掌握程度
     * @return 更新结果
     */
    boolean updateStudyProgress(String userId, String knowledgePointId, DegreeOfMastery masteryLevel);
} 